#!/usr/bin/env node

const userName = process.argv[2],
      password = process.argv[3]; 


console.log('user name:',userName);
console.log('password:',password);

const msg = `${userName}:${password}`;
console.log('msg:',msg);

const buf = Buffer.from(msg);
console.log('base64:', buf.toString('base64'));
